package com.lhb.service;

import com.lhb.pojo.BaseResp;
import com.lhb.pojo.TbPermission;

/**
 * @author LiangHaiBo
 * @version 1.0
 * @date 2021.10.13 下午 17:30
 */
public interface PermissionService {
    BaseResp findAll(Integer page, Integer limit);

    BaseResp findByRole(Integer roleid);

    BaseResp updatePer(TbPermission tbPermission);

    BaseResp AddPermission(TbPermission tbPermission);

    void deleteById(Integer id);
}
